package com.tradesolver;

import java.util.Date;

import javax.persistence.Id;

import com.google.appengine.repackaged.com.google.common.base.Objects;
import com.googlecode.objectify.annotation.Unindexed;

public class FinancialsText {
  @Id
  String ticker;
  
  @Unindexed
  String incomeStatementA;
  @Unindexed
  String balanceSheetA;
  @Unindexed
  String cashFlowA;

  @Unindexed
  String incomeStatementQ;
  @Unindexed
  String balanceSheetQ;
  @Unindexed
  String cashFlowQ;

  @Unindexed
  String corporate;

  Date updateDate;

  private FinancialsText() {
  }

  public FinancialsText(String ticker) {
    super();
    this.ticker = ticker;
  }

  @Override
  public String toString() {
    return Objects.toStringHelper(this).add("ticker", ticker).add("updateDate", updateDate).toString();
  }
}
